<div class="new-table-container">
  <nz-table #newTable [nzPageSize]="20" [nzData]="dataSet">
    <thead>
      <tr>
        <th>名称</th>
        <th>简称</th>
        <th>流通市值</th>
        <th>当前价格</th>
        <th>流通量</th>
        <th>成交量（24h）</th>
        <th>涨幅（24h）</th>
        <th>上市时间</th>
      </tr>
    </thead>
    <tbody>
      <tr *ngFor="let data of newTable.data">
        <td [style.color]="'#0291d6'">
          <a [routerLink]="['/market/chain', data.name]">{{data.name}}</a>
        </td>
        <td>{{data.sname}}</td>
        <td>{{data.marketValue | currency:'USD':'$':'1.0-0'}} 亿</td>
        <td>{{data.price | currency:'USD':'$':'1.0-5' }}</td>
        <td>{{data.amount | number: '1.0-0'}} 万</td>
        <td>{{data.deal | currency:'USD':'$':'1.0-0'}} 万</td>
        <td [style.color]="data.color ? 'red': 'green'">{{data.updown | percent:'1.2-2'}}</td>
        <td>{{data.publicTime}}</td>
      </tr>
    </tbody>
  </nz-table>
</div>
